package org.dromara.bean.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 我的钱包
 * @Author: jeecg-boot
 * @Date: 2020-05-08
 * @Version: V1.0
 */
@Data
@TableName("his_payment_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class HisPaymentLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
    @TableId(type = IdType.AUTO)
    public Integer id;
    /**
     * 收入金额
     */
    public Double totalFee;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date updateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date payTime;

    /**
     * 日志号
     */
    public String orderNumber;


    public String success;


    public String errCode;

    public String errCodeDes;

    public Integer type;

//    500快速开方  100问诊订单 200问诊预约订单 300会诊订单 400检查项目订单
    public Integer aboutType;


    public String aboutId;


    public String remark;

    /**
     * 是否删除
     */

    private Integer delFlag;


    private String prePayId;


    private String tenantId;


    private String orgId;
}
